import {
    createRouter,
    createWebHistory, Router, RouteRecordNormalized
} from 'vue-router'

import Bar3D from "@/components/Bar3D.vue"
import Socket from "@/components/SocketBar3D.vue"
import SocketTest from "@/components/SocketTest.vue"
import SSETest from "@/components/SSETest.vue"
import index from "@/components/Index.vue"

const routes = [
    {
        path: "/",
        component: index,
    },
    {
        path: "/bar3d",
        component: Bar3D,
    },
    {
        path: "/socketBar3D",
        component: Socket,
    },
    {
        path: "/socketTest",
        component: SocketTest,
    },
    {
        path: "/sSETest",
        component: SSETest,
    },
]

const router = createRouter({
    history: createWebHistory(),
    routes,
})


export default router